package com.jy.rhin.infra.cda.dao.impl;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jy.rhin.infra.cda.dao.HuiZhenJLDao;
import com.jy.rhin.infra.cda.huizhen.HuiZhenVo;
import com.jy.rhin.infra.cda.mapper.HuiZhenMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HuiZhenJLDaoImpl implements HuiZhenJLDao {

    @Autowired
    private HuiZhenMapper huiZhenMapper;

//    @Override
//    public HuiZhenVo getHuiZhenJLByHuiZhenDH(String huizhendh, String yiliaojddm) {
//        QueryWrapper<HuiZhenVo> query = new QueryWrapper<>();
//        query.eq("HUIZHENDH", huizhendh);
//        query.eq("YEWUJGDM", yiliaojddm);
//        query.orderByDesc("HUIZHENSJ").last("limit 1");
//        return huiZhenMapper.getHuiZhenJL(query);
//    }
}
